package com.mew.common.rest.user;

import com.mew.common.util.PbWriteUtils;
import com.zebra.common.ZebraBaseMessage;
import io.netty.buffer.ByteBuf;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class EnterInfoResponse  extends ZebraBaseMessage<EnterInfoResponse> {

    private int onlineTime;

    private int bulletin;

    private int sign; //0  已签到 ；1  未签到

    private int mail;//0 没有  1  有

    private int friendApply;// 0 没有  1  有

    @Override
    public void write(ByteBuf byteBuf) {
        PbWriteUtils.attr2byte(this,byteBuf);
    }

    @Override
    public EnterInfoResponse read(ByteBuf byteBuf) {
        return null;
    }
}
